<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>CSS带有滑动菜单指示器的导航选项卡</title>
    <link rel="stylesheet" href="style.css" />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
    />
  </head>
  <body>
    <div class="tabs">
      <input type="radio" id="home" name="tabsMenu" checked />
      <input type="radio" id="profile" name="tabsMenu" />
      <input type="radio" id="likes" name="tabsMenu" />
      <input type="radio" id="settings" name="tabsMenu" />
      <input type="radio" id="notifications" name="tabsMenu" />
      <div class="buttons">
        <label for="home"><i class="fa-solid fa-house"></i></label>
        <label for="profile"><i class="fa-solid fa-user"></i></label>
        <label for="likes"><i class="fa-solid fa-heart"></i></label>
        <label for="settings"><i class="fa-sharp fa-solid fa-gear"></i></label>
        <label for="notifications"><i class="fa-solid fa-bell"></i></label>
        <div class="underline"></div>
      </div>
    </div>
  </body>
</html>
